Esempio n. 1
0
        public async Task <IEnumerable <Model> > AddManyModelsAsync(IEnumerable <Model> models)
        {
            IEnumerable <Model> modelsAdded;

            try
            {
                modelsAdded = await _modelRepository.AddMany(models);
            }catch (Exception e)
            {
                throw e;
            }
            return(modelsAdded);
        }