public ResponseModel GetEnterpriseByCodeId(int id = 0) { var message = new MessageModel(); var obj = repo.GetEnterpriseByCodeId(id); SetObjectResponse(obj, message); return(response); }