public async Task <IResultModel> Add(LoginLogEntity info) { if (info == null) { return(ResultModel.Failed()); } info.Id = _repository.GetSeq("S_SYS_LOGINLOG").ToString(); int result = await _repository.InsertAsync(info); return(ResultModel.Success(result)); }