public async Task <JsonResult> GetNotes(int customerId) { var result = await _bizCheckDup.GetNotesAsync(customerId); return(ToJsonResponse(true, null, result)); }
public async Task <IActionResult> GetNotes(int id) { var result = await _bizCheckDup.GetNotesAsync(id); return(ToResponse(result)); }