public static task ToEntity(this TaskVM model) { return(Mapper.Map <task>(model)); }
public static task ToModelEdit(this TaskVM model, task Project) { return(Mapper.Map(model, Project)); }
public static TaskVM ToModelDetails(this task entity, TaskVM taskVm) { return(Mapper.Map(entity, taskVm)); }