public Alumini.Core.UserPosting_Jobs Create(Alumini.Core.UserPosting_Jobs obj) { try { using (var context = _dbContextFactory.CreateConnection()) { context.UserPosting_Jobs.Add(obj); context.SaveChanges(); return(obj); } } catch (SystemException ex) { _Logger.Error(ex.Message, ex); throw ex; } }
public Alumini.Core.UserPosting_Jobs Create(Alumini.Core.UserPosting_Jobs obj) { return(_IEventCategoryRepo.Create(obj)); }