public async Task <IActionResult> GetPrintResource(int masterId) { var prinRes = await _repository.GetPrintResource(masterId); if (prinRes == null) { return(NotFound()); } return(Ok(prinRes)); }