public GetProductsResponse GetProducts(GetProductsRequest request)
        {
            var response = new GetProductsResponse();

            try
            {
                response.Products = ModelTranslator.Translate(BLL.Product.GetProductList());
                response.Success  = true;
            }
            catch (Exception ex)
            {
                response.Success      = false;
                response.ErrorMessage = ex.ToString();
            }

            return(response);
        }
        public GetGenderResponse GetGender(GetGenderRequest request)
        {
            var response = new GetGenderResponse();

            try
            {
                response.GenderList = ModelTranslator.Translate(BLL.Gender.GetGender());
                response.Success    = true;
            }
            catch (Exception ex)
            {
                response.Success      = false;
                response.ErrorMessage = ex.ToString();
                response.Errors       = ErrorCodes.Invalid;
            }

            return(response);
        }