public async Task <IActionResult> PutManualCashFlow(string id, ManualCashFlow manualCashFlow)
        {
            if (id != manualCashFlow.Id || manualCashFlow.isDeleted)
            {
                return(BadRequest());
            }

            _context.Entry(manualCashFlow).State = EntityState.Modified;

            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!ManualCashFlowExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }
        public async Task <IActionResult> PutCFType(string id, CFType cFType)
        {
            if (id != cFType.Id)
            {
                return(BadRequest());
            }

            _context.Entry(cFType).State = EntityState.Modified;

            try
            {
                await _context.SaveChangesAsync();
            }
            catch (DbUpdateConcurrencyException)
            {
                if (!CFTypeExists(id))
                {
                    return(NotFound());
                }
                else
                {
                    throw;
                }
            }

            return(NoContent());
        }