public ApiResult <User> CheckLogin()
        {
            var apiResult = new ApiResult <User>();

            if (ClaimsPrincipal.Current.Identity.IsAuthenticated == true)
            {
                apiResult = RCSService.GetCurrentUser();
            }
            else
            {
                apiResult.IsSuccess = false;
            }
            return(apiResult);
        }
 public ApiResult <User> GetCurrentUser()
 {
     return(RCSService.GetCurrentUser());
 }