public bool CodeExist([FromRoute] string code)
 {
     return(repository.CodeExists(code));
 }