示例#1
0
        public async Task <IHttpActionResult> GetFavorites(DateTimeOffset?ack = null)
        {
            var inProcess = false;

            List <UserDTO> favorites = DataClassesManager.GetFavorites(_User.UserId.Value, ref ack, out inProcess);

            return(Ok(new { ack = ack, inProcess = inProcess, favorite = favorites }));
        }