示例#1
0
        public async Task <int> CountTransaction()
        {
            int premisesId = int.Parse(User.Claims.First(c => c.Type == "premisesID").Value);

            return(await _transactionBL.CountFarmTransaction(premisesId));
        }