public void AddMediaRequestdType(MSI_MediaRequestTypes submittedMediatype)
        {
            MSI_MediaRequestTypesRepository repository = new MSI_MediaRequestTypesRepository();
            try
            {
                repository.Add(submittedMediatype);
            }

            catch (Exception ex)
            {
                throw ex;
            }
        }
        public void SaveMediaRequestdType(MSI_MediaRequestTypes submittedMediatype)
        {
            string thisMethod = string.Format("{0}.{1}", thisClass, System.Reflection.MethodBase.GetCurrentMethod().Name);
            string logMessage = string.Format("{0}|Method incoming parameters RequestId={1}", thisMethod, submittedMediatype.Id);
            LogHelper.Info(logMessage);

            try
            {
                Query.AddMediaRequestdType(submittedMediatype);
            }
            catch (Exception ex)
            {
                ErrorLogHelper.Error(logMessage, ex);
            }
        }
 public MediaRequestTypes(MSI_MediaRequestTypes mediaRequestTypes, MSI_MediaRequestResponse requestResponse)
 {
     MSIMediaRequestTypes = mediaRequestTypes;
     MSIMediaRequestResponse = requestResponse;
 }