Пример #1
0
 public async Task<List<HouseUser>> GetUserByName(userparms input)
 {
     return await db.GetUserByName(input.userid);
 }
Пример #2
0
 public async Task<List<HouseUser>> GetUser(userparms input)
 {
     if(input == null)
     {
         return await db.GetUser(null);
     }
     else
     {
         return await db.GetUser(input.userid);
     }
 }