public async Task <IEnumerable <TaskModel> > AddAllTasksAsync(IEnumerable <TaskModel> models) { var newTaskEntities = await _dataProvider.AddAllTasksAsync(models.ToTaskEntities()); return(newTaskEntities.ToTaskModels()); }