public IActionResult GetByModelId(long model)
 {
     try
     {
         return(Ok(_asmRepo.GetByModelId(model)));
     }
     catch (ParameterNullException e)
     {
         return(BadRequest(e.Message));
     }
 }
Пример #2
0
 public IEnumerable <IAssemblyDto> GetByModelId(long model)
 {
     return(_assemRepo.GetByModelId(model));
 }