public static Member ConvertToEntity(this EditMemberViewModel model) { Member member = new Member(); return model.CopyToEntity(member); }
public static DA.UserPriority ToEntity(this DT.UserPriority source) { if (source == null) return null; var result = new DA.UserPriority(); source.CopyToEntity(result); return result; }
public static DA.TaskData ToEntity(this DT.TaskData source) { if (source == null) return null; var result = new DA.TaskData(); source.CopyToEntity(result); return result; }
public static DA.Downtime ToEntity(this DT.Downtime source) { if (source == null) return null; var result = new DA.Downtime(); source.CopyToEntity(result); return result; }
public static DA.SlaveGroup ToEntity(this DT.SlaveGroup source) { if (source == null) return null; var result = new DA.SlaveGroup(); source.CopyToEntity(result); return result; }
public static DA.ResourcePermission ToEntity(this DT.ResourcePermission source) { if (source == null) return null; var result = new DA.ResourcePermission(); source.CopyToEntity(result); return result; }
public static DA.Plugin ToEntity(this DT.Plugin source) { if (source == null) return null; var result = new DA.Plugin(); source.CopyToEntity(result); return result; }
public static DA.Job ToEntity(this DT.Job source) { if (source == null) return null; var result = new DA.Job(); source.CopyToEntity(result); return result; }