Example #1
0
 /// <summary>
 ///  Create web model from entity
 /// </summary>
 public static Models.AirFilter CreateFrom(this MainDomain.AirFilter source)
 {
     return(new Models.AirFilter
     {
         AilFilterId = source.AilFilterId,
         AirFilterName = source.AirFilterName,
         AirFilterPrice = source.AirFilterPrice
     });
 }
Example #2
0
 public AirFilter Save(AirFilter oil)
 {
     var airFilter = _airFilterRepository.Save(oil);
     return airFilter;
 }