public static DTO.Notification Map(DAL.App.DTO.Notification notification) { var dto = new DTO.Notification { Id = notification.Id, Title = notification.Title, Content = notification.Content, AppUserId = notification.AppUserId, NotificationType = notification.NotificationType, TrainingId = notification.TrainingId }; return(dto); }
public static DTO.Notification Map(Domain.Notification notification) { Notification dto = new DTO.Notification { Id = notification.Id, Title = notification.Title, Content = notification.Content, AppUserId = notification.AppUserId, NotificationType = notification.NotificationType, TrainingId = notification.TrainingId, Recived = notification.Recived }; return(dto); }
public static Domain.Notification MapToDomain(DTO.Notification notification) { Domain.Notification domain = new Domain.Notification { Id = notification.Id, Title = notification.Title, Content = notification.Content, AppUserId = notification.AppUserId, NotificationType = notification.NotificationType, TrainingId = notification.TrainingId, Recived = notification.Recived }; return(domain); }
public abstract object GetSearchFilter(int userId, out DTO.Notification notification);
public abstract object GetInitData(int userId, out DTO.Notification notification);
public abstract bool Reset(int userId, int id, ref object dtoItem, out DTO.Notification notification);
public abstract bool UpdateData(int userId, int id, ref object dtoItem, out DTO.Notification notification);
public abstract bool DeleteData(int userId, int id, out DTO.Notification notification);
public abstract TEditFormData GetData(int userId, int id, Hashtable param, out DTO.Notification notification);
public abstract TSeachFormData GetDataWithFilter(int userId, Hashtable filters, int pageSize, int pageIndex, string orderBy, string orderDirection, out int totalRows, out DTO.Notification notification);
public abstract TEditFormData GetData(int id, out DTO.Notification notification);