Example #1
0
        public ResponseModel DeleteUserAddress(UserAddress request)
        {
            IUserDetails _repository = new UserDetails();
            int          response    = 0;

            response = _repository.DeleteUserAddress(request);
            string        Status = "0";
            ResponseModel model  = new ResponseModel();

            if (response == 1)
            {
                model.Status  = "1";
                model.Message = "Address Deleted Succesfully";
            }
            else
            {
                model.Status = "0";
            }
            return(model);
        }