public IActionResult GetActiveByCustomer(long customerId) { try { return(Ok(new ApiResponse(ApiResponseState.Success, __projectApp.GetActiveByCustomer(customerId)))); } catch (Exception ex) { return(HandleError(ex)); } }
public IActionResult GetActiveByCustomer(long customerId) { try { return(Ok(new ApiResponse(ApiResponseState.Success, __projectApp.GetActiveByCustomer(customerId)))); } catch (Exception ex) { return(HandleError(ex)); } }