示例#1
0
        public async Task <Response> Creat(Friend objectToCreat)
        {
            Response response = Validate.FriendValidate(false, objectToCreat);

            return(response.HasError() ? response : await _repository.Creat(objectToCreat));
        }