public Urls New(string pAction, Guid pUserId) { var uRLParm = new Urls() { Id = Guid.NewGuid(), UserId = pUserId, Action = pAction, CreateUserId = pUserId, CreateDt = DateTime.Now, ChangeUserId = pUserId, ChangeDt = DateTime.Now }; return(uRLParm); }
public Urls New(Guid pId, Guid pDeviceId, Guid pUserId, string pAction, Guid pGameId, Guid pMyUserId) { var uRLParm = new Urls() { Id = pId, UserId = pUserId, Action = pAction, GameId = pGameId, CreateUserId = pUserId, CreateDt = DateTime.Now, ChangeUserId = pUserId, ChangeDt = DateTime.Now }; return(uRLParm); }
public Urls Add(Guid pUserId, string pAction, string pPaypal = null) { var efUrl = new Urls() { Id = Guid.NewGuid(), UserId = pUserId, Action = pAction, Paypal = pPaypal, CreateUserId = pUserId, CreateDt = DateTime.Now, ChangeUserId = pUserId, ChangeDt = DateTime.Now }; Context.Urls.Add(efUrl); return(efUrl); }