Beispiel #1
0
 public HttpResponseMessage GetChoreUsers(int ChoreListId)
 {
     try
     {
         TinyMapper.Bind <List <ChoreUser>, List <_ChoreUser> >();
         var ChoreUsers = TinyMapper.Map <List <_ChoreUser> >(ChoreRepository.GetChoreUsers(ChoreListId));
         return(OKResponse(ChoreUsers));
     }
     catch (Exception ex)
     {
         return(ErrorResponse(ex));
     }
 }