Ejemplo n.º 1
0
        public static List <FormContent> ListofContent(string schoolYear, string schoolCode)
        {
            try
            {
                string       sp        = "dbo.tcdsb_PLF_FormData_WebAPI @Operate,@UserID,@UserRole,@SchoolYear,@SchoolCode";
                ParameterSP0 parameter = new ParameterSP0 {
                    Operate = "Content", UserID = "mif", SchoolYear = schoolYear, SchoolCode = schoolCode
                };
                List <FormContent> myList = GeneralDataAccess.GetFormContentList(sp, parameter);

                return(myList);
            }
            catch (Exception ex)
            {
                var exm = ex.Message;
                return(null);
            }
        }