public IActionResult GetAll() { var result = _creditCartService.GetAll(); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }
public List <CreditCarts> Get() { return(_creditCartService.GetAll()); }
public IActionResult GetAll() { var result = _creditCartService.GetAll(); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }
public List <CreditCarts> Get() { return(_creditCartService.GetAll()); }