Lenkelheit / Coursework

This repository contains Instagram-like application
Apache License 2.0
1 stars 0 forks source link

Ban user for spam #105

Closed iamprovidence closed 5 years ago

iamprovidence commented 5 years ago

disable option "AskQuestion" by user`s spam

iamprovidence commented 5 years ago

I can do this, but it seems like we need to change DataBase

Lenkelheit commented 5 years ago

I can do this, but it seems like we need to change DataBase

Add property to users like this: public bool HasMessageBan { get; set; } ?

iamprovidence commented 5 years ago

yeah, but this name is complicated. Maybe IsBanned.

Also if you have any other ideas to solve this issue feel free to let me know. Because I think adding a property is an only way to go

Lenkelheit commented 5 years ago

yeah, but this name is complicated. Maybe IsBanned.

Also if you have any other ideas to solve this issue feel free to let me know. Because I think adding a property is an only way to go

I agree with you that it is maybe the only way to solve this. Okay, let it be IsBanned.