task and ticket changes - checkout rollcall
This commit is contained in:
@@ -9,7 +9,9 @@ public interface IPositionApplication
|
||||
OperationResult Create(CreatePosition command);
|
||||
OperationResult SaveAccountPosition(List<long> accountIds, long positionId);
|
||||
List<AccountViewModel> GetNoPositionAccounts();
|
||||
List<int> GetUnUsedPositionValues();
|
||||
List<AccountViewModel> GetAllPositionAccounts();
|
||||
|
||||
List<int> GetUnUsedPositionValues();
|
||||
OperationResult Remove(long id);
|
||||
OperationResult Edit(EditPosition command);
|
||||
List<PositionViewModel> GetPositions();
|
||||
|
||||
@@ -23,6 +23,7 @@ public class CreateTask
|
||||
public bool HasSchedule { get; set; }
|
||||
public string ScheduleUnitType { get; set; }
|
||||
public string ScheduleUnitNumber { get; set; }
|
||||
public long TaskScheduleId { get; set; }
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -27,7 +27,7 @@ public interface ITicketApplication
|
||||
OperationResult DeletePendingAdminResponse(int adminResId);
|
||||
OperationResult EditPendingAdminResponse(long adminResId, string newMessage);
|
||||
OperationResult CloseTicket(long ticketId);
|
||||
|
||||
|
||||
TypesCountOfTicketViewModel GetTypesCountOfTicketForAdmin();
|
||||
TypesCountOfTicketViewModel GetTypesCountOfTicketForClient(long workshopId);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace AccountManagement.Application.Contracts.Ticket;
|
||||
|
||||
public class TypesCountOfTicketViewModel
|
||||
{
|
||||
public int Open { get; set; }
|
||||
public int Closed { get; set; }
|
||||
public int Answered { get; set; }
|
||||
public int Pending { get; set; }
|
||||
public int All { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user