Esempio n. 1
0
        public async Task <IEnumerable <TaskModel> > AddAllTasksAsync(IEnumerable <TaskModel> models)
        {
            var newTaskEntities = await _dataProvider.AddAllTasksAsync(models.ToTaskEntities());

            return(newTaskEntities.ToTaskModels());
        }