Пример #1
0
 public IEnumerable <Entity> GetAllEntities()
 {
     return(_entityDao.GetEntitiesByState("Available", 2));
 }
Пример #2
0
 public IEnumerable <Entity> GetEntitiesByState(string state, int entityTypeId)
 {
     return(_entityDao.GetEntitiesByState(state, entityTypeId));
 }
Пример #3
0
 //GET =>  http://localhost:8080/api/{token}/Entities/
 public IEnumerable <Entity> GetAllEntities(string entityState)
 {
     ValidateToken();
     return(_entityDao.GetEntitiesByState(entityState, 2));
 }