...
This commit is contained in:
@@ -10,6 +10,7 @@ using Shared.DTOs;
|
||||
using System.Security.Cryptography;
|
||||
using static Microsoft.EntityFrameworkCore.DbLoggerCategory.Database;
|
||||
using Shared.DTOs.Serch;
|
||||
using Back.Common;
|
||||
|
||||
namespace Back.Controllers
|
||||
{
|
||||
@@ -104,6 +105,8 @@ namespace Back.Controllers
|
||||
|| Ticket.Status == StatusTicket.hasbeenanswered)
|
||||
{
|
||||
Ticket.Status = StatusTicket.optout;
|
||||
Ticket.EndDate = DateTime.Now.ConvertMiladiToShamsi();
|
||||
Ticket.EndTime = DateTime.Now.ToString("hh:mm tt");
|
||||
return Ok(await _servTicket.UpdateTicket(Ticket));
|
||||
}
|
||||
return Ok();
|
||||
|
Reference in New Issue
Block a user