public void AddLogSession() { DLModel.SessionId = 166; DLModel.UserId = 166; DLModel.PageUrl = "RevisitModule"; DLModel.Browser = "ie"; DLModel.MEID = 316; DLModel.LogCreatedDate = System.DateTime.Now; int result = _logSessionBL.AddSession(DLModel); // _logSessionBL.LogModuleOrExam("12", "12", 12, 12); }
public int AddSession(DTO.LogSession logSession) { return(_logSession.AddSession(Mapper.Map <DTO.LogSession, HCRGUniversity.Core.Data.Model.LogSession>(logSession))); }