public int Delete(int listId) { var map = mapper.CreateMapper(); TaskListDTO taskList = TaskListService.Get(listId); int i = TaskListService.Delete(taskList); return(i); }
public int Delete(int listId) { var map = mapper.CreateMapper(); TaskListDTO taskList = TaskListService.Get(listId); int i = TaskListService.Delete(taskList); return(i); }