public Side GetSideById(string id) { var side = _repo.GetSideById(id); if (side == null) { throw new Exception("I DONT LIKE BAD ID's"); } return(side); }
public Side GetSideById(string id) { var side = _repo.GetSideById(id); if (side == null) { throw new Exception("Not a valid ID"); } return(side); }