public static void FromModel(ServiceActionViewModel model, ServiceAction action)
 {
     /*action.Id = model.Id;*/
     action.User          = UserService.GetUserById(model.ExpertId);
     action.Customer      = model.Customer;
     action.Service       = ServiceService.GetServiceById(model.ServiceId);
     action.Date          = model.Date;
     action.Type          = ActionTypeService.GetTypeById(model.TypeId);
     action.Comments      = model.Comments;
     action.ServiceChild  = ServiceService.GetServiceById(model.ServiceChildId);
     action.IsNonresident = model.IsNonresident;
     action.FreeVisit     = model.FreeVisit;
     action.CustomerType  = model.CustomerTypeId == CustomerType.Empty.Id
         ? null
         : CustomerService.GetTypeById(model.CustomerTypeId);
 }