Compare commits

..

No commits in common. "2eb3b043652222527730c2c1a0808a67f0d4dab5" and "cd2007c4fd588d13d1357c8a4bd163905d6d9c1b" have entirely different histories.

1 changed files with 2 additions and 6 deletions

View File

@ -23,7 +23,6 @@ using IRaCIS.Application.Contracts;
using IRaCIS.Core.Domain.Models; using IRaCIS.Core.Domain.Models;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
using System.Linq; using System.Linq;
using NPOI.SS.Formula.Functions;
namespace IRaCIS.Application.Services namespace IRaCIS.Application.Services
{ {
@ -3046,7 +3045,7 @@ namespace IRaCIS.Application.Services
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
public async Task<bool> VerifyReadingRestTime() public async Task VerifyReadingRestTime()
{ {
var userTypeEnum = (UserTypeEnum)_userInfo.UserTypeEnumInt; var userTypeEnum = (UserTypeEnum)_userInfo.UserTypeEnumInt;
if (userTypeEnum != UserTypeEnum.IndependentReviewer) if (userTypeEnum != UserTypeEnum.IndependentReviewer)
@ -3096,8 +3095,6 @@ namespace IRaCIS.Application.Services
#endregion #endregion
} }
return true;
} }
/// <summary> /// <summary>
@ -3105,7 +3102,7 @@ namespace IRaCIS.Application.Services
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
public async Task<bool> ResetReadingRestTime(Guid? userID) public async Task ResetReadingRestTime(Guid? userID)
{ {
if (userID == null) if (userID == null)
{ {
@ -3132,7 +3129,6 @@ namespace IRaCIS.Application.Services
{ {
_provider.Set(startReadingTimeKey, DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), TimeSpan.FromHours(48)); _provider.Set(startReadingTimeKey, DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), TimeSpan.FromHours(48));
} }
return true;
} }
/// <summary> /// <summary>