public IActionResult GetById(long id) { try { return(Ok(_asmRepo.GetById(id))); } catch (ParameterNullException e) { return(BadRequest(e.Message)); } }
public IAssemblyDto GetById(long id) { return(_assemRepo.GetById(id)); }