public async Task <object> GetById(int id) { try { Bahan bahan = await bahanService.GetById(id); return(new { Status = Models.APIResult.ResultSuccessStatus, Bahan = bahan }); } catch (Exception e) { throw new InternalServerErrorException(e.Message); } }