public string SaveMinut(MinutesJson MinutClass, List <TaskJson> TaskList) { var result = ""; SPSecurity.RunWithElevatedPrivileges(delegate() { MinutBLL _MinutBLL = new MinutBLL(); result = _MinutBLL.SaveMinutes(MinutClass, TaskList, UserNmae()); }); return(result); }
public List <MinutesJson> GetMinutByMeetingID(string MeetingID) { var result = new List <MinutesJson>(); SPSecurity.RunWithElevatedPrivileges(delegate() { MinutBLL _MinutBLL = new MinutBLL(); result = _MinutBLL.GetMinutbyMeetingID(MeetingID); }); return(result); }