Esempio n. 1
0
        public Alumini.Core.Event_UserSelections Create(Alumini.Core.Event_UserSelections obj)
        {
            using (var context = _dbContextFactory.CreateConnection())
            {
                try
                {
                    obj = context.Event_UserSelections.Add(obj);
                    context.SaveChanges();
                    return(obj);
                }

                catch (Exception ex)
                {
                    _Logger.Error(ex.Message, ex);
                    throw ex;
                }
            }
        }
Esempio n. 2
0
 public Alumini.Core.Event_UserSelections Create(Alumini.Core.Event_UserSelections obj)
 {
     return(_UserselectionEventsRepo.Create(obj));
 }