public async Task <IActionResult> PutTms_Deposits(int id, Tms_Deposits tms_Deposits)
        {
            if (id != tms_Deposits.DepositId)
            {
                return(BadRequest());
            }

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

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

            return(NoContent());
        }
        public async Task <ActionResult <Tms_Deposits> > PostTms_Deposits(Tms_Deposits tms_Deposits)
        {
            _context.Tms_Deposits.Add(tms_Deposits);
            await _context.SaveChangesAsync();

            return(CreatedAtAction("GetTms_Deposits", new { id = tms_Deposits.DepositId }, tms_Deposits));
        }