remove unnecessary API methods

This commit is contained in:
Shaun Walker
2020-02-14 10:12:12 -05:00
parent f148b1b148
commit 2fa7f852d5
18 changed files with 4 additions and 81 deletions

View File

@ -24,14 +24,7 @@ namespace Oqtane.Controllers
[HttpGet]
public IEnumerable<Profile> Get(string siteid)
{
if (siteid == "")
{
return Profiles.GetProfiles();
}
else
{
return Profiles.GetProfiles(int.Parse(siteid));
}
return Profiles.GetProfiles(int.Parse(siteid));
}
// GET api/<controller>/5