public async Task <Response> Creat(Friend objectToCreat) { Response response = Validate.FriendValidate(false, objectToCreat); return(response.HasError() ? response : await _repository.Creat(objectToCreat)); }