public Result InsertAuthors(List <Author> lst) { try { foreach (var item in lst) { item.CreateTime = DateTime.Now; item.Name = item.Name.ToUpper(); item.Surname = item.Surname.ToUpper(); } var result = this.ValidateInsert(lst); if (result.Status != ResultStatus.Success) { return(result); } _iAuthorDal.Insert(lst); return(lst.FirstOrDefault().Result = new Result { Status = ResultStatus.Success, Description = "Kaydedildi", Data = lst }); } catch (Exception ex) { throw new Exception(ex.Message); } }