Exemplo n.º 1
0
 public static DAL.Searches convertToDal(DTO.searches s)
 {
     return(new DAL.Searches
     {
         Adress = s.Adress,
         Category = s.Category,
         fingerPrint = s.fingerPrint,
         Id = s.Id
     });
 }
Exemplo n.º 2
0
 public IHttpActionResult addSearch(DTO.searches s)
 {
     return(Ok(BL.searchesBL.addSearch(s)));
 }