public async Task AddLikesPhoto(LikesPhoto likesPhoto) { await _socialNetworkContext.Set <LikesPhoto>().AddAsync(likesPhoto); }
public void DeleteLikesPhoto(LikesPhoto likesPhoto) { _socialNetworkContext.Set <LikesPhoto>().Remove(likesPhoto); }
public async Task AddLikesPhoto(LikesPhoto likesPhoto) { await _socialNetworkContext.Set <LikesPhoto>().AddAsync(likesPhoto); }
public void DeleteLikesPhoto(LikesPhoto likesPhoto) { _socialNetworkContext.Set <LikesPhoto>().Remove(likesPhoto); }