public RequestCommentBs() { _RequestComment = new GenericPattern <RequestComment>(); _RequestSubmit = new GenericPattern <RequestSubmit>(); _RequestCommentModel = new RequestCommentModel(); }
public RequestComment(RequestCommentModel item) { Id = item.Id; UserId = item.UserId; RequestSubmitId = item.RequestSubmitId; Comment = item.Comment; UserTypeId = item.UserTypeId; CreatedDate = item.CreatedDate; }
public int Save(RequestCommentModel model) { RequestComment _requestComment = new RequestComment(model); if (model.Id != null && model.Id != 0) { _RequestComment.Update(_requestComment); } else { // _requestApprove.CreatedDate = System.DateTime.Now; _requestComment = _RequestComment.Insert(_requestComment); } return(_requestComment.Id); }
public AdminCommentController() { _RequestCommentModel = new RequestCommentModel(); _RequestCommentBs = new RequestCommentBs(); }
public PanelRequestCommentController() { _RequestCommentModel = new RequestCommentModel(); _RequestCommentBs = new RequestCommentBs(); }
public RequestCommentModel GetDetails(RequestCommentModel model) { throw new NotImplementedException(); }