public async Task <IActionResult> Post([FromBody] CustomBillViewModel bill)
        {
            if (ModelState.IsValid)
            {
                var newcBill = Mapper.Map <CustomBill>(bill);
                _repository.AddCustomBill(newcBill);

                if (await _repository.SaveChangesAsync())
                {
                    return(Created($"api/custombills/{newcBill.Id}", Mapper.Map <CustomBillViewModel>(newcBill)));
                }
            }
            return(BadRequest("Failed to save the bill"));
        }